const ENV = "test";

const ROOT_CONFIG = {
  local: {
    name: "本地环境",
    url: "http://localhost:8000",
    socketUrl: "wss://test.aiet.top:29007/ws",
    aiUrl: "",
  },
  dev: {
    name: "本地环境",
    url: "http://192.168.22.56:8000",
    socketUrl: "wss://test.aiet.top:29007/ws",
    aiUrl: "",
  },
  test: {
    name: "测试环境",
    url: "/aiet-api",
    socketUrl: "wss://test.aiet.top:29007/ws",
    aiUrl: "",
  },
  prod: {
    name: "线上环境",
    url: "/aiet-api",
    socketUrl: "wss://cs.aiet.top:29007/ws",
    aiUrl: "",
  },
};

const URL = ROOT_CONFIG[ENV];

export default URL;
